import { createApp } from 'vue'
import type { Router } from 'vue-router'
import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(router)
app.mount('#app')

declare module '@vue/runtime-core' {
  interface ComponentCustomProperties {
    $router: Router
  }
} 